
<p><b>syntax:</b> <i>fastcgi_split_path_info regex</i>
</p><p><b>context:</b> <i>location</i>
</p><p><b>version:</b> <i>&gt;= 0.7.31</i>
</p><p></p>
<pre class="code"><span class="kw3">location</span> ~ ^<span class="br0">&#40;</span>.+\.php<span class="br0">&#41;</span><span class="br0">&#40;</span>.*<span class="br0">&#41;</span>$ <span class="br0">&#123;</span>
...
<span class="kw11">fastcgi_split_path_info</span> ^<span class="br0">&#40;</span>.+\.php<span class="br0">&#41;</span><span class="br0">&#40;</span>.*<span class="br0">&#41;</span>$;
<span class="kw11">fastcgi_param</span> SCRIPT_FILENAME /path/to/php<span class="re0">$fastcgi_script_name</span>;
<span class="kw11">fastcgi_param</span> PATH_INFO <span class="re0">$fastcgi_path_info</span>;
<span class="kw11">fastcgi_param</span> PATH_TRANSLATED <span class="re0">$document_root</span><span class="re0">$fastcgi_path_info</span>;
...
<span class="br0">&#125;</span></pre>
<br><i>Module: NginxHttpFcgiModule</i>